import instance from './interceptors'

export const createAdmin = (data) => {
    return instance.post('/api/createAdmin',data);
}

export const adminLogin = (data) => {
    return instance.post('/api/admin/login',data);
}